#include <stdio.h>
int main()
{
	int arr[] = { 1, 2, 3, 4, 5,1 ,2, 3, 4, 6 };
	int tmp = 0;
	for (int i = 0; i < sizeof(arr) / sizeof(arr[0])-1; i++)
	{
		tmp ^= arr[i];
	}
	printf("%d\n", tmp);
	for (int i = 0; i < sizeof(arr) / sizeof(arr[0]); i++)
	{
		tmp ^= arr[i];
	}
	printf("%d\n", tmp);
	return 0;
}